package com.whmnx.main.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;


import com.alibaba.android.arouter.facade.annotation.Route;
import com.whmnx.base.bean.AddressBean;
import com.whmnx.base.bean.OrderBean;
import com.whmnx.base.constants.Constants;
import com.whmnx.base.constants.EventConstants;
import com.whmnx.base.constants.MessageEvent;
import com.whmnx.base.http.CallBack;
import com.whmnx.base.http.HttpClient;
import com.whmnx.base.router.RouterActivityPath;
import com.whmnx.main.BR;
import com.whmnx.main.R;
import com.whmnx.main.databinding.FragmentConfirmOrder2Binding;
import com.whmnx.main.ui.model.ConfirmOrderModel;



import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import io.reactivex.disposables.Disposable;
import io.reactivex.functions.Consumer;
import me.goldze.mvvmhabit.base.BaseActivity;
import me.goldze.mvvmhabit.bus.RxBus;
import me.goldze.mvvmhabit.bus.RxSubscriptions;
import me.goldze.mvvmhabit.utils.SPUtils;

/**
 * author : huang
 * date   : 2020/9/23 0023 17:07
 * version: 1.0
 * @author Administrator
 */
public class ConfirmOrderActivity extends BaseActivity<FragmentConfirmOrder2Binding, ConfirmOrderModel> {

    private Disposable subscribe;

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.fragment_confirm_order2;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
        OrderBean orderBean = (OrderBean) getIntent().getSerializableExtra("entity");
        viewModel.initToolbar(this,binding,orderBean);
    }
}
